/*
 * TypeAst.h
 *
 *  Created on: 5 Nov 2010
 *      Author: kn308
 */

#ifndef TYPEAST_H_
#define TYPEAST_H_

#include <MAlice/Ast/Ast.h>

namespace MAlice
{

class TypeAst: public MAlice::Ast
{
private:
	string mName;

public:
	TypeAst(location loc, const string& name);
	virtual ~TypeAst();
	virtual llvm::Value*      generate();
	virtual const llvm::Type* type();
	inline string getName() const { return mName; }
};

}

#endif /* TYPEAST_H_ */
